package demo01extends;

public class Teacher extends Employee {
    int zi=20;
    int num=2;
    public void show(){
        System.out.println("父类方法"+super.num);
        System.out.println("子类方法"+this.num);
    }

}
